package com.xdcplus.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 系统启动入口
 *
 * @author Fish.Fei
 * @date 2022/11/02
 */
@MapperScan("com.xdcplus.web.mapper")
@EnableDiscoveryClient
@EnableScheduling
@EnableCaching
@EnableAsync
@SpringBootApplication
@EnableFeignClients(basePackages = {"com.xdcplus.*"})
public class MesWebApiServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(MesWebApiServiceApplication.class, args);
    }

}
